using System;
using UnityEngine;

[Serializable]
public class selectplay_00201 : MonoBehaviour
{
	public Texture pressed;

	public Texture unpressed;

	public void Update()
	{
		if (UnityEngine.Input.touchCount > 0)
		{
			Touch touch = Input.touches[0];
			if (touch.phase == TouchPhase.Began && GetComponent<GUITexture>().HitTest(touch.position))
			{
				gameObject.GetComponent<GUITexture>().texture = pressed;
			}
		}
	}

	public void Main()
	{
	}
}
